package org.kongcloud.core.exceptions;

/**
 * @Author:
 * @Date: 2018/12/28 18:32
 */

public class KongCloudRuntimeException extends Exception {
    private int errorCode;
    private String errorMsg;

    public KongCloudRuntimeException(int errorCode, String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
